package com.alibaba.citrus.ots.platform.enhance.functions.diff.common.template;

import com.alibaba.citrus.ots.platform.enhance.functions.diff.activity.constant.ActivityDiffStandardFieldDict;
import com.alibaba.citrus.ots.platform.enhance.functions.diff.common.constant.SalesOrderLineDiffStandardFieldDict;

import java.util.HashSet;
import java.util.Set;

/**
 * @author: qiaojiange
 * @create: 2022/01/19
 * @Description 销售子单标准模板
 */
public class SalesOrderLineStandardTemplate {
    /**
     * set
     */
    private static Set<String> set = new HashSet<>();

    static {
        set.add(ActivityDiffStandardFieldDict.ITEM_ID.getFieldCode());
        set.add(ActivityDiffStandardFieldDict.SUB_ORDER_ID.getFieldCode());
        set.add(SalesOrderLineDiffStandardFieldDict.SPECIAL_OFFER_PRICE.getFieldCode());
        set.add(ActivityDiffStandardFieldDict.ITEM_QUANTITY.getFieldCode());
        set.add(SalesOrderLineDiffStandardFieldDict.UNIT_PRICE.getFieldCode());
        set.add(ActivityDiffStandardFieldDict.ACTIVITY_ID.getFieldCode());
        //set.add(SalesOrderLineDiffStandardFieldDict.REFUSE_REASON_CODE.getFieldCode());
        set.add(SalesOrderLineDiffStandardFieldDict.SEQUENCE_NO.getFieldCode());
    }

    /**
     * 获取模板字段集合
     *
     * @return 模板字段列表
     */
    public static Set<String> obtainTemplateFieldSet() {
        return set;
    }
}
